package com.villaday.idf.model;

/**
 * Created by admin on 2018/9/12.
 */

public class gatewayOrdersEntity {


    /**
     * code : 200
     * status : success
     * msg : success
     * body : {"order":{"activity":{"id":"31KZOvV0mR","type":13},"actualPrice":31900,"allowBespeak":false,"allowBuy":true,"allowCancel":false,"allowDelete":true,"allowPayment":false,"bespeakMobile":"0752-8399196","createTime":"2018-09-12 16:27:59","currentPrice":39900,"discountAmount":8000,"linkman":"出差","mobile":"13242842135","orderNo":"VHP180912-300107","originalPrice":80000,"paymentMethod":0,"product":{"desc":"整屋78平米 2室1厅3床 宜住4人","id":"Z3mN97x57g","imageUrl":"https://img.villaday.com/images/house_1001/42985/42985-10-327115.jpg?x-oss-process=image/resize,m_fill,w_121,h_78,limit_0/sharpen,100","name":"双月湾·一线侧海景两房一厅"},"status":1,"statusText":"已取消","type":7,"walletDeductibleAmount":0},"status":1}
     */

    private String code;
    private String status;
    private String msg;
    private BodyBean body;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public BodyBean getBody() {
        return body;
    }

    public void setBody(BodyBean body) {
        this.body = body;
    }

    public static class BodyBean {
        /**
         * order : {"activity":{"id":"31KZOvV0mR","type":13},"actualPrice":31900,"allowBespeak":false,"allowBuy":true,"allowCancel":false,"allowDelete":true,"allowPayment":false,"bespeakMobile":"0752-8399196","createTime":"2018-09-12 16:27:59","currentPrice":39900,"discountAmount":8000,"linkman":"出差","mobile":"13242842135","orderNo":"VHP180912-300107","originalPrice":80000,"paymentMethod":0,"product":{"desc":"整屋78平米 2室1厅3床 宜住4人","id":"Z3mN97x57g","imageUrl":"https://img.villaday.com/images/house_1001/42985/42985-10-327115.jpg?x-oss-process=image/resize,m_fill,w_121,h_78,limit_0/sharpen,100","name":"双月湾·一线侧海景两房一厅"},"status":1,"statusText":"已取消","type":7,"walletDeductibleAmount":0}
         * status : 1
         */

        private OrderBean order;
        private int status;

        public OrderBean getOrder() {
            return order;
        }

        public void setOrder(OrderBean order) {
            this.order = order;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public static class OrderBean {
            /**
             * activity : {"id":"31KZOvV0mR","type":13}
             * actualPrice : 31900
             * allowBespeak : false
             * allowBuy : true
             * allowCancel : false
             * allowDelete : true
             * allowPayment : false
             * bespeakMobile : 0752-8399196
             * createTime : 2018-09-12 16:27:59
             * currentPrice : 39900
             * discountAmount : 8000
             * linkman : 出差
             * mobile : 13242842135
             * orderNo : VHP180912-300107
             * originalPrice : 80000
             * paymentMethod : 0
             * product : {"desc":"整屋78平米 2室1厅3床 宜住4人","id":"Z3mN97x57g","imageUrl":"https://img.villaday.com/images/house_1001/42985/42985-10-327115.jpg?x-oss-process=image/resize,m_fill,w_121,h_78,limit_0/sharpen,100","name":"双月湾·一线侧海景两房一厅"}
             * status : 1
             * statusText : 已取消
             * type : 7
             * walletDeductibleAmount : 0
             */

            private ActivityBean activity;
            private int actualPrice;
            private boolean allowBespeak;
            private boolean allowBuy;
            private boolean allowCancel;
            private boolean allowDelete;
            private boolean allowPayment;
            private String bespeakMobile;
            private String createTime;
            private int currentPrice;
            private int discountAmount;
            private String linkman;
            private String mobile;
            private String orderNo;
            private int originalPrice;
            private int paymentMethod;
            private ProductBean product;
            private int status;
            private String statusText;
            private int type;
            private int walletDeductibleAmount;

            public ActivityBean getActivity() {
                return activity;
            }

            public void setActivity(ActivityBean activity) {
                this.activity = activity;
            }

            public int getActualPrice() {
                return actualPrice;
            }

            public void setActualPrice(int actualPrice) {
                this.actualPrice = actualPrice;
            }

            public boolean isAllowBespeak() {
                return allowBespeak;
            }

            public void setAllowBespeak(boolean allowBespeak) {
                this.allowBespeak = allowBespeak;
            }

            public boolean isAllowBuy() {
                return allowBuy;
            }

            public void setAllowBuy(boolean allowBuy) {
                this.allowBuy = allowBuy;
            }

            public boolean isAllowCancel() {
                return allowCancel;
            }

            public void setAllowCancel(boolean allowCancel) {
                this.allowCancel = allowCancel;
            }

            public boolean isAllowDelete() {
                return allowDelete;
            }

            public void setAllowDelete(boolean allowDelete) {
                this.allowDelete = allowDelete;
            }

            public boolean isAllowPayment() {
                return allowPayment;
            }

            public void setAllowPayment(boolean allowPayment) {
                this.allowPayment = allowPayment;
            }

            public String getBespeakMobile() {
                return bespeakMobile;
            }

            public void setBespeakMobile(String bespeakMobile) {
                this.bespeakMobile = bespeakMobile;
            }

            public String getCreateTime() {
                return createTime;
            }

            public void setCreateTime(String createTime) {
                this.createTime = createTime;
            }

            public int getCurrentPrice() {
                return currentPrice;
            }

            public void setCurrentPrice(int currentPrice) {
                this.currentPrice = currentPrice;
            }

            public int getDiscountAmount() {
                return discountAmount;
            }

            public void setDiscountAmount(int discountAmount) {
                this.discountAmount = discountAmount;
            }

            public String getLinkman() {
                return linkman;
            }

            public void setLinkman(String linkman) {
                this.linkman = linkman;
            }

            public String getMobile() {
                return mobile;
            }

            public void setMobile(String mobile) {
                this.mobile = mobile;
            }

            public String getOrderNo() {
                return orderNo;
            }

            public void setOrderNo(String orderNo) {
                this.orderNo = orderNo;
            }

            public int getOriginalPrice() {
                return originalPrice;
            }

            public void setOriginalPrice(int originalPrice) {
                this.originalPrice = originalPrice;
            }

            public int getPaymentMethod() {
                return paymentMethod;
            }

            public void setPaymentMethod(int paymentMethod) {
                this.paymentMethod = paymentMethod;
            }

            public ProductBean getProduct() {
                return product;
            }

            public void setProduct(ProductBean product) {
                this.product = product;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }

            public String getStatusText() {
                return statusText;
            }

            public void setStatusText(String statusText) {
                this.statusText = statusText;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }

            public int getWalletDeductibleAmount() {
                return walletDeductibleAmount;
            }

            public void setWalletDeductibleAmount(int walletDeductibleAmount) {
                this.walletDeductibleAmount = walletDeductibleAmount;
            }

            public static class ActivityBean {
                /**
                 * id : 31KZOvV0mR
                 * type : 13
                 */

                private String id;
                private int type;

                public String getId() {
                    return id;
                }

                public void setId(String id) {
                    this.id = id;
                }

                public int getType() {
                    return type;
                }

                public void setType(int type) {
                    this.type = type;
                }
            }

            public static class ProductBean {
                /**
                 * desc : 整屋78平米 2室1厅3床 宜住4人
                 * id : Z3mN97x57g
                 * imageUrl : https://img.villaday.com/images/house_1001/42985/42985-10-327115.jpg?x-oss-process=image/resize,m_fill,w_121,h_78,limit_0/sharpen,100
                 * name : 双月湾·一线侧海景两房一厅
                 */

                private String desc;
                private String id;
                private String imageUrl;
                private String name;

                public String getDesc() {
                    return desc;
                }

                public void setDesc(String desc) {
                    this.desc = desc;
                }

                public String getId() {
                    return id;
                }

                public void setId(String id) {
                    this.id = id;
                }

                public String getImageUrl() {
                    return imageUrl;
                }

                public void setImageUrl(String imageUrl) {
                    this.imageUrl = imageUrl;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }
            }
        }
    }
}
